package com.love.cloud.admin.api.provider;

import com.love.cloud.admin.api.vo.AuthVo;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Description: <br/>
 * date: 2022/5/8 19:41<br/>
 *
 * @author wangzhiqiong <br/>
 */
public interface AuthProvider {

    /**
     * 根据浙政钉ID登录
     * @param authVo
     * @return
     */
    Object getTokenInfoByAccountId(@Validated({AuthVo.OnlyType.class}) @RequestBody AuthVo authVo);
}
